package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * 文章表增删改查对象 article
 * 
 * @author hyb
 * @date 2023-03-06
 */
@Alias("article1")
public class Article extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户作者id */
   //(name = "用户作者id")
    private Long userId;

    /** 文章标题 */
   //(name = "文章标题")
    private String articleTitle;

    /** 作者用户名 */
   //(name = "作者用户名")
    private String userName;

    /** 作用昵称 */
   //(name = "作用昵称")
    private String useNickName;

    /** 描述 */
   //(name = "描述")
    private String articleDes;

    /** 文章路径 */
   //(name = "文章路径")
    private String contentUrl;

    /** 图片封面 */
   //(name = "图片封面")
    private String imgUrl;

    /** 点赞人数 */
   //(name = "点赞人数")
    private Long thumbCount;

    /** 评论数量 */
   //(name = "评论数量")
    private Long commenCount;

    /** 收藏数量 */
   //(name = "收藏数量")
    private Long collectionCount;

    /** 踩踏人数 */
   //(name = "踩踏人数")
    private Long trampleCount;

    /** 文章热度 */
   //(name = "文章热度")
    private Long articleHot;

    /** 标签 */
   //(name = "标签")
    private String label;

    /** 类型 0-原创/1-转载/2-翻译 */
   //(name = "类型 0-原创/1-转载/2-翻译")
    private Long type;

    /** 分类id */
   //(name = "分类id")
    private Long classificationId;

    /** 专栏id */
   //(name = "专栏id")
    private Long columnId;

    /** 收藏夹id */
   //(name = "收藏夹id")
    private Long collectDestId;

    /** 状态  0-草稿,1-刚创建,2-审核中,3-审核通过,4-审核不通过,5-已发布 */
   //(name = "状态  0-草稿,1-刚创建,2-审核中,3-审核通过,4-审核不通过,5-已发布")
    private Long status;

    /** 可见行为 0-全部可见,1-私密,2-部门可见,3-学校可见 */
   //(name = "可见行为 0-全部可见,1-私密,2-部门可见,3-学校可见")
    private Long visible;

    /** 文章等级 */
   //(name = "文章等级")
    private Long level;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   //(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

    /** $column.columnComment */
    private String pf1;

    /** $column.columnComment */
    private String pf2;

    /** $column.columnComment */
    private String pf3;

    /** $column.columnComment */
    private String pf4;

    /** $column.columnComment */
    private String pf5;

    /** $column.columnComment */
    private String pf6;

    /** $column.columnComment */
    private String pf7;

    /** $column.columnComment */
    private String pf8;

    /** $column.columnComment */
    private String pf9;

    /** $column.columnComment */
    private String pf10;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setArticleTitle(String articleTitle) 
    {
        this.articleTitle = articleTitle;
    }

    public String getArticleTitle() 
    {
        return articleTitle;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUseNickName(String useNickName) 
    {
        this.useNickName = useNickName;
    }

    public String getUseNickName() 
    {
        return useNickName;
    }
    public void setArticleDes(String articleDes) 
    {
        this.articleDes = articleDes;
    }

    public String getArticleDes() 
    {
        return articleDes;
    }
    public void setContentUrl(String contentUrl) 
    {
        this.contentUrl = contentUrl;
    }

    public String getContentUrl() 
    {
        return contentUrl;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setThumbCount(Long thumbCount) 
    {
        this.thumbCount = thumbCount;
    }

    public Long getThumbCount() 
    {
        return thumbCount;
    }
    public void setCommenCount(Long commenCount) 
    {
        this.commenCount = commenCount;
    }

    public Long getCommenCount() 
    {
        return commenCount;
    }
    public void setCollectionCount(Long collectionCount) 
    {
        this.collectionCount = collectionCount;
    }

    public Long getCollectionCount() 
    {
        return collectionCount;
    }
    public void setTrampleCount(Long trampleCount)
    {
        this.trampleCount = trampleCount;
    }

    public Long getTrampleCount()
    {
        return trampleCount;
    }
    public void setArticleHot(Long articleHot) 
    {
        this.articleHot = articleHot;
    }

    public Long getArticleHot() 
    {
        return articleHot;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setClassificationId(Long classificationId) 
    {
        this.classificationId = classificationId;
    }

    public Long getClassificationId() 
    {
        return classificationId;
    }
    public void setColumnId(Long columnId) 
    {
        this.columnId = columnId;
    }

    public Long getColumnId() 
    {
        return columnId;
    }
    public void setCollectDestId(Long collectDestId) 
    {
        this.collectDestId = collectDestId;
    }

    public Long getCollectDestId() 
    {
        return collectDestId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setVisible(Long visible) 
    {
        this.visible = visible;
    }

    public Long getVisible() 
    {
        return visible;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setPublishTime(Date publishTime) 
    {
        this.publishTime = publishTime;
    }

    public Date getPublishTime() 
    {
        return publishTime;
    }
    public void setPf1(String pf1) 
    {
        this.pf1 = pf1;
    }

    public String getPf1() 
    {
        return pf1;
    }
    public void setPf2(String pf2) 
    {
        this.pf2 = pf2;
    }

    public String getPf2() 
    {
        return pf2;
    }
    public void setPf3(String pf3) 
    {
        this.pf3 = pf3;
    }

    public String getPf3() 
    {
        return pf3;
    }
    public void setPf4(String pf4) 
    {
        this.pf4 = pf4;
    }

    public String getPf4() 
    {
        return pf4;
    }
    public void setPf5(String pf5) 
    {
        this.pf5 = pf5;
    }

    public String getPf5() 
    {
        return pf5;
    }
    public void setPf6(String pf6) 
    {
        this.pf6 = pf6;
    }

    public String getPf6() 
    {
        return pf6;
    }
    public void setPf7(String pf7) 
    {
        this.pf7 = pf7;
    }

    public String getPf7() 
    {
        return pf7;
    }
    public void setPf8(String pf8) 
    {
        this.pf8 = pf8;
    }

    public String getPf8() 
    {
        return pf8;
    }
    public void setPf9(String pf9) 
    {
        this.pf9 = pf9;
    }

    public String getPf9() 
    {
        return pf9;
    }
    public void setPf10(String pf10) 
    {
        this.pf10 = pf10;
    }

    public String getPf10() 
    {
        return pf10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("articleTitle", getArticleTitle())
            .append("userName", getUserName())
            .append("useNickName", getUseNickName())
            .append("articleDes", getArticleDes())
            .append("contentUrl", getContentUrl())
            .append("imgUrl", getImgUrl())
            .append("thumbCount", getThumbCount())
            .append("commenCount", getCommenCount())
            .append("collectionCount", getCollectionCount())
            .append("trampleCount", getTrampleCount())
            .append("articleHot", getArticleHot())
            .append("label", getLabel())
            .append("type", getType())
            .append("classificationId", getClassificationId())
            .append("columnId", getColumnId())
            .append("collectDestId", getCollectDestId())
            .append("status", getStatus())
            .append("visible", getVisible())
            .append("level", getLevel())
            .append("publishTime", getPublishTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("pf1", getPf1())
            .append("pf2", getPf2())
            .append("pf3", getPf3())
            .append("pf4", getPf4())
            .append("pf5", getPf5())
            .append("pf6", getPf6())
            .append("pf7", getPf7())
            .append("pf8", getPf8())
            .append("pf9", getPf9())
            .append("pf10", getPf10())
            .toString();
    }
}
